UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

A separate OL 8 filesystem must be used for user home directories (such as "/home" or an equivalent).


Overview

Finding ID Version Rule ID IA Controls Severity
V-248648 OL08-00-010800 SV-248648r991589_rule Medium
Description
The use of separate file systems for different paths can protect the system from failures resulting from a file system becoming full or failing.
STIG Date
Oracle Linux 8 Security Technical Implementation Guide 2024-06-04

Details

Check Text ( C-52082r902798_chk )
Verify that a separate file system has been created for non-privileged local interactive user home directories.

Check the home directory assignment for all non-privileged users, users with a User Identifier (UID) greater than 1000, on the system with the following command:

$ sudo awk -F: '($3>=1000)&&($1!="nobody"){print $1,$3,$6}' /etc/passwd

doej 1001 /home/doej
publicj 1002 /home/publicj
smithj 1003 /home/smithj

The output of the command will give the directory that contains the home directories for the nonprivileged users on the system (in this example, "/home") and users’ shell. All accounts with a valid shell (such as "/bin/bash") are considered interactive users.

Check that a file system has been created for the nonprivileged interactive users with the following command.

Note: The partition of "/home" is used in the example.

$ sudo grep /home /etc/fstab

/dev/mapper/... /home xfs defaults,noexec,nosuid,nodev 0 0

If a separate entry for the file system that contains the nonprivileged interactive users' home directories does not exist, this is a finding.
Fix Text (F-52036r902799_fix)
Migrate the "/home" directory onto a separate file system.